package com.gy.hsim.bservice.friendInfo.service;

import java.util.List;

import com.gy.hsim.bservice.framework.bean.BaseReponse;
import com.gy.hsim.bservice.framework.bean.QueryFriendReponse;
import com.gy.hsim.bservice.framework.bean.QueryReponse;
import com.gy.hsim.bservice.framework.bean.QueryVerifyReponse;
import com.gy.hsim.bservice.friendInfo.bean.Friend;
import com.gy.hsim.bservice.friendInfo.bean.FriendShield;
import com.gy.hsim.bservice.friendInfo.bean.QueryFriend2UsercData;
import com.gy.hsim.bservice.friendInfo.bean.QueryFriendReq;


/**
 * 
 * @ClassName: FriendInfoService 
 * @Description: 好友信息业务接口 
 * @author Lee 
 * @date 2015-1-13 下午5:52:07
 */
public interface FriendInfoService {
	
	public List<QueryFriend2UsercData> query(QueryFriendReq req,QueryVerifyReponse resp) throws Exception;
	
	/*新增一个根据用户ID返回用户好友ID和好友备注列表接口  2015-07-13 David*/
	public List<Friend> queryFriendNickName(QueryFriendReq req,QueryVerifyReponse resp) throws Exception;
	
	/*根据用户ID和好友ID，返回是否为好友 2015-07-13 David*/
	public boolean checkIsUserFriend(QueryFriendReq req,QueryVerifyReponse resp) throws Exception;
	
	
	public List<QueryFriend2UsercData> queryWhoAddMeList(QueryFriendReq req,QueryReponse resp)  throws Exception;
	
	public boolean insert(QueryFriendReq req,BaseReponse resp)  throws Exception;
	
	public List<Friend> queryFriendRel(QueryFriendReq req)  throws Exception;
	
	public boolean shieldFriendMsg(QueryFriendReq req,BaseReponse resp)  throws Exception;
	
	public List<FriendShield> queryShieldFriendMsg(QueryFriendReq req,QueryReponse resp)  throws Exception;
	
	
	public boolean updateFriendNickName(QueryFriendReq req,BaseReponse resp)  throws Exception;
	
	public void queryFriendRemark(QueryFriendReq req,QueryFriendReponse resp)  throws Exception;
	
	//查询用户中心数据中与用户有关联的好友
	public List<Friend> queryUcRelFriend(String accountId) throws Exception;
	
	//插入即时聊天历史记录
	public boolean insertMessage(String str) throws Exception;
			
	//插入推送消息历史记录
	public boolean insertPushMessage(String str) throws Exception;
	
	//插入即时聊天历史记录
	public boolean insertGroupMessage(String str) throws Exception;
}
